home *** CD-ROM | disk | FTP | other *** search
- import java.util.NoSuchElementException;
-
- class CIconObjectList extends CObList {
- CIconObject GetPrevious() throws illegalListOpException {
- return (CIconObject)super.prev();
- }
-
- void addTail(CIconObject var1) {
- ((CObList)this).addElement(var1);
- }
-
- CIconObject GetTail() {
- return (CIconObject)((CObList)this).end();
- }
-
- CIconObject GetHead() {
- return (CIconObject)((CObList)this).start();
- }
-
- void SetParentIconObject(CIconObject var1) {
- CIconObject var2 = null;
- boolean var3 = false;
-
- try {
- var2 = this.GetHead();
- } catch (NoSuchElementException var5) {
- var3 = true;
- }
-
- while(!var3) {
- if (var2 != null) {
- var2.SetParentIconObject(var1);
- }
-
- try {
- var2 = this.GetNext();
- } catch (NoSuchElementException var4) {
- var3 = true;
- }
- }
-
- }
-
- CIconObjectList() {
- super(true);
- }
-
- CIconObject GetNext() {
- return (CIconObject)((CObList)this).next();
- }
- }
-